<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
   "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
	<title></title>
</head>
<body>
<div id="content" class="span-19 last content">
<div class="span-4">
&nbsp;
</div>
<form:form name="user-form" method="post" action="./password">
<div class="span-10 panel">
	<div class="span-10 panel-title last">
		密码修改
	</div>
	<div class="span-10 last" style="color:red">
		<c:forEach items="${errors}" var="error">
			<c:out value="${error.objectName}"/> - <c:out value="${error.defaultMessage}"/>
		</c:forEach>
	</div>
	<table>
		<tr>
			<td>
				old password:
			</td>
			<td>
				<input type="password" name="oldPassword" cssStyle="width:90%"/>
			</td>
		</tr>
		<tr>
			<td>
				new password 1:			
			</td>
			<td>
				<input type="password" name="newPassword1" cssStyle="width:90%"/>	
			</td>
		</tr>
		<tr>
			<td>
				new password 2:			
			</td>
			<td>
				<input type="password" name="newPassword2" cssStyle="width:90%"/>	
			</td>
		</tr>
	</table>
	<div class="span-10 last form-button-bar">
		<input id="save-btn" type="submit" value="修改密码">
	</div>
</div>
</form:form>
<div class="span-4">
&nbsp;
</div>
</div>
</body>
</html>